﻿@model Janus.Mes.VO.SysConfigVO
@{
    Layout = null;
}
<div class="pageContent">
    <form method="post" action="Quality/IQC/Create?OpID=@ViewData["OperateID"]" class="pageForm required-validate"
          onsubmit="return validateCallback(this, dialogAjaxDone);">
        @Html.ValidationSummary(true)
        <div class="pageFormContent" layouth="56">
            <p>
                <label>
                    送检编号：
                </label>
                @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
            </p>
            <p>
                <label>
                    检验类型：
                </label>
                @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
            </p>
            <p>
                <label>
                    检验方式：
                </label>
                @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
            </p>
            <p>
                <label>
                    产品编号：
                </label>
                @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
            </p>
            <p>
                <label>
                    产品名称：
                </label>
                @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
            </p>
            <p>
                <label>
                    计量单位：
                </label>
                @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
            </p>
            <p>
                <label>
                    报检数量：
                </label>
                @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
            </p>
            <p>
                <label>
                    采样类型：
                </label>
                @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
            </p>
            <p>
                <label>
                    自定义抽检表：
                </label>
                @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
            </p>
            <p>
                <label>
                    抽样水平：
                </label>
                @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
            </p>
            <p>
                <label>
                    严格程度：
                </label>
                @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
            </p>
            <p>
                <label>
                    AQL 值：
                </label>
                @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
            </p>
            <p>
                <label>
                    抽检数量：
                </label>
                @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
            </p>
            <p>
                <label>
                    抽检率%：
                </label>
                @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
            </p>
            <p>
                <label>
                    拒收数：
                </label>
                @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
            </p>
            <p>
                <label>
                    拒收数：
                </label>
                @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
            </p>
            <div class="tabs" style="float:left;width:100%;">
                <div class="tabsHeader">
                    <div class="tabsHeaderContent">
                        <ul>
                            <li class="selected"><a href="#"><span>检验特性</span></a></li>
                            <li><a href="#"><span>来源信息</span></a></li>
                            <li><a href="#"><span>缺陷原因</span></a></li>
                            <li><a href="#"><span>原因分析</span></a></li>
                            <li><a href="#"><span>改善对策</span></a></li>
                            <li><a href="#"><span>责任判定</span></a></li>
                        </ul>
                    </div>
                </div>
                <div class="tabsContent" style="overflow:scroll;">
                    <div>
                        <table class="treetable list" width="100%">
                            <thead>
                                <tr class="header">
                                    <th>检验项目</th>
                                    <th>检验特性</th>
                                    <th>必检</th>
                                    <th>是否破坏</th>
                                    <th>控制数据</th>
                                    <th>标准值</th>
                                    <th>上限值</th>
                                    <th>下限值</th>
                                    <th>检测值</th>
                                    <th>最大值</th>
                                    <th>最小值</th>
                                    <th>测量方法</th>
                                    <th>测量工具</th>
                                    <th>取样数量</th>
                                    <th>合格数</th>
                                    <th>不合格数</th>
                                    <th>检验结果</th>
                                    <th>文件类型</th>
                                    <th>链接文件</th>
                                    <th>检验地点</th>
                                    <th>检验环境</th>
                                    <th>备注</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr target="IQC_id" rel="2" data-tt-id="2">
                                    <td>检验项目</td>
                                    <td>检验特性</td>
                                    <td>必检</td>
                                    <td>是否破坏</td>
                                    <td>控制数据</td>
                                    <td>标准值</td>
                                    <td>上限值</td>
                                    <td>下限值</td>
                                    <td>检测值</td>
                                    <td>最大值</td>
                                    <td>最小值</td>
                                    <td>测量方法</td>
                                    <td>测量工具</td>
                                    <td>取样数量</td>
                                    <td>合格数</td>
                                    <td>不合格数</td>
                                    <td>检验结果</td>
                                    <td>文件类型</td>
                                    <td>链接文件</td>
                                    <td>检验地点</td>
                                    <td>检验环境</td>
                                    <td>备注</td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div>
                        <p>
                            <label>
                                开始检验日期：
                            </label>
                            @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                            @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
                        </p>
                        <p>
                            <label>
                                结束检验日期：
                            </label>
                            @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                            @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
                        </p>
                        <p>
                            <label>
                                工单编号：
                            </label>
                            @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                            @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
                        </p>
                        <p>
                            <label>
                                单据日期：
                            </label>
                            @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                            @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
                        </p>
                        <p>
                            <label>
                                工单类型：
                            </label>
                            @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                            @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
                        </p>
                        <p>
                            <label>
                                生产部门：
                            </label>
                            @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                            @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
                        </p>
                        <p>
                            <label>
                                排程编号：
                            </label>
                            @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                            @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
                        </p>
                        <p>
                            <label>
                                报工编号：
                            </label>
                            @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                            @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
                        </p>
                        <p>
                            <label>
                                班别：
                            </label>
                            @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                            @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
                        </p>
                        <p>
                            <label>
                                颜色：
                            </label>
                            @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                            @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
                        </p>
                        <p>
                            <label>
                                报工日期：
                            </label>
                            @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                            @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
                        </p>
                        <p>
                            <label>
                                销售订单：
                            </label>
                            @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                            @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
                        </p>
                        <p>
                            <label>
                                机种：
                            </label>
                            @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                            @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
                        </p>
                        <p>
                            <label>
                                工序编码：
                            </label>
                            @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                            @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
                        </p>
                        <p>
                            <label>
                                工序名称：
                            </label>
                            @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                            @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
                        </p>
                        <p>
                            <label>
                                客户编码：
                            </label>
                            @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                            @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
                        </p>
                        <p style="width:100%;height:50px;">
                            <label>
                                备注：
                            </label>
                            @Html.TextAreaFor(sysConfig => sysConfig.Title, new { style = "width:50%;height:30px;" })
                            @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
                        </p>
                    </div>
                    <div>
                        <table class="treetable list" width="100%">
                            <thead>
                                <tr class="header">
                                    <th>检验项目</th>
                                    <th>检验特性</th>
                                    <th>缺陷原因</th>
                                    <th>原因</th>
                                    <th>缺陷分类</th>
                                    <th>缺陷等级</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr target="IQC_id" rel="2" data-tt-id="2">
                                    <td>检验项目</td>
                                    <td>检验特性</td>
                                    <td>缺陷原因</td>
                                    <td>原因</td>
                                    <td>缺陷分类</td>
                                    <td>缺陷等级</td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div>
                        <p style="width:60%;height:100px;">
                            <label>
                                备注：
                            </label>
                            @Html.TextAreaFor(sysConfig => sysConfig.Title, new { style = "width:90%;height:80px;" })
                            @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
                        </p>
                        <table class="treetable list" width="40%">
                            <thead>
                                <tr class="header">
                                    <th>文件编码</th>
                                    <th>文件名称</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr target="IQC_id" rel="2" data-tt-id="2">
                                    <td>文件编码</td>
                                    <td>文件名称</td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div>
                        <p style="width:60%;height:100px;">
                            <label>
                                备注：
                            </label>
                            @Html.TextAreaFor(sysConfig => sysConfig.Title, new { style = "width:90%;height:80px;" })
                            @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
                        </p>
                        <table class="treetable list" width="40%">
                            <thead>
                                <tr class="header">
                                    <th>文件编码</th>
                                    <th>文件名称</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr target="IQC_id" rel="2" data-tt-id="2">
                                    <td>文件编码</td>
                                    <td>文件名称</td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div>
                        <table class="treetable list" width="100%">
                            <thead>
                                <tr class="header">
                                    <th>检验项目</th>
                                    <th>检验特性</th>
                                    <th>待办</th>
                                    <th>最后期限</th>
                                    <th>责任部门</th>
                                    <th>部门主管</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr target="IQC_id" rel="2" data-tt-id="2">
                                    <td>检验项目</td>
                                    <td>检验特性</td>
                                    <td>待办</td>
                                    <td>最后期限</td>
                                    <td>责任部门</td>
                                    <td>部门主管</td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="tabsFooter">
                    <div class="tabsFooterContent"></div>
                </div>
            </div>
            <p>
                <label>
                    合格数量：
                </label>
                @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @class = "required" })
                @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
            </p>
            <p>
                <label>
                    不合格数量：
                </label>
                @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @class = "required" })
                @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
            </p>
            <p>
                <label>
                    判定结果：
                </label>
                <select class="combox">
                    <option value="1">合格</option>
                    <option value="0">不合格</option>
                </select>
            </p>
            @Html.Partial("Operation", Model)
        </div>
        @Html.Partial("FormButtonBar")
    </form>
</div>
